import request from '../utils/request'

const getSongs = {
    getSongLists(type){
        return request({
            url:'/api/top/song',
            params:{
                type
            }
        })
    },
    play(id){
        return request({
            url:'/api/song/url',
            params:{
                id
            }
        })
    }
}

export default getSongs